<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style>
		
	</style>
</head>
<body>
	
</body>
	<script>
		var obj = {
			name:'莉莉',
			age:18,
			demo:function(){
				console.log(1234567);
			}
		};

		delete obj.name;
		delete obj.age;
		delete obj.demo;

		console.log(obj);
		obj.demo();

	</script>
</html>